<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>表单验证</title>
        <script src="https://cdn.bootcss.com/jquery/1.7.2/jquery.min.js"></script>
        <script src="/ui_h/bb/js/common.js?v=4.1.0"></script>
        	<script src="/ui_h/ajax/libs/validate/jquery.validate.js"></script>
<!-- 	<script src="http://static.runoob.com/assets/jquery-validation-1.14.0/dist/jquery.validate.min.js"></script> -->
	<script src="/ui_h/ajax/libs/validate/messages_zh.min.js"></script>
	<script src="/ui_h/ajax/libs/validate/jquery.validate.extend.js"></script>
        
    <body>
            <script type="text/javascript">
                $().ready(function() {
                     $("#signupForm").validate({meta: "validate", debug: true});
                });
            </script>
        <form id="signupForm" method="get" action="">
           <!--  <p>
                <label for="firstname">Firstname</label>
                <input id="firstname" name="firstname" class="required" />
            </p> -->
         <p>
          <label for="email">E-Mail</label>
          <input id="email" name="email" class=" " required=true email=true  />
         </p>
         
          <p>
          <label for="email">IP</label>
          <input id="ip" name="ip" class=" " required=#email=='123@qq.com' isIp=true  />
         </p>
         
       <!--   <p>
          <label for="password">Password</label>
          <input id="password" name="password" type="password" required minlength=5  />
         </p>
         <p>
          <label for="confirm_password">确认密码</label>
          <input id="confirm_password" name="confirm_password" type="password" required equalTo='#password'  />
         </p> -->
            <p>
                <input class="submit" type="submit" value="Submit"/>
            </p>
        </form>
    </body>
</html>